package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.system.AssginMenuDto;
import com.atguigu.spzx.model.entity.system.SysRoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author Windows
* @description 针对表【sys_role_menu(角色菜单)】的数据库操作Service
* @createDate 2024-01-29 15:43:04
*/
public interface SysRoleMenuService extends IService<SysRoleMenu> {

    /**
     * 查询该角色下的菜单信息
     * @param roleId
     * @return
     */
    Map<String, Object> findSysRoleMenuByRoleId(Long roleId);

    /**
     * 分配菜单
     * @param assginMenuDto
     */
    void doAssign(AssginMenuDto assginMenuDto);
}
